package com.lyf.scm.plan.domain.service;

import com.github.pagehelper.PageInfo;
import com.lyf.scm.plan.api.dto.EsAggregationDTO;
import com.lyf.scm.plan.api.dto.EsReturnDTO;

import java.util.List;

/**
 * es懒加载查询解决方案
 *
 * @author wangchlei
 * @date 2020/11/14
 */
public interface SalesPlanEsLazyLoadingService {

    PageInfo<EsReturnDTO> pageQuery(EsAggregationDTO esAggregation);

    List<EsReturnDTO> queryFromCache(EsAggregationDTO esAggregationDTO);
}
